package MySql;

public class Cart {
    private String owner;
    private String content;
    private Double total;

    public Cart() {
    }

    public Cart(String owner, String content, Double total) {
        this.owner = owner;
        this.content = content;
        this.total = total;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "owner='" + owner + '\'' +
                ", content='" + content + '\'' +
                ", total=" + total +
                '}';
    }
}
